ADP\BaseVersion\Includes\CartProcessor\FreeAutoAddItemsController S

Total Complexity 36
Dependencies 6
Dependents 1
Total lines 244
Lines of code 152
Logical lines of code 90
Comment lines 28
Methods 10
Properties 3

Methods 10

Method Rating Maintainability Complexity Lines of code
insertRemovedFreeCartItemStubInCart()
A
49 7 32
insertRemovedFreeMiniCartItemStubInCart()
A
49 7 32
handleFreeCartItemUpdate()
S
52 6 23
handleFreeCartItemRemove()
S
56 5 17
handleRestoreDeletedItems()
S
56 4 19
withCart()
S
74 2 5
onCreateOrder()
S
67 2 8
__construct()
S
73 1 5
withContext()
S
81 1 3
installHooks()
S
65 1 8